package pp.infrastructure.redis;

public class RedisConstant {
    public static final long MIN_WAITTIME = 0;              /* 最小等待时长 */
    public static final long MAX_WAITTIME = 100;            /* 最长等待时长 */

    public static final long MIN_LEASETIME = 0;             /* 最小释放时长 */
    public static final long MAX_LEASETIME = 30000;         /* 最大释放时长 */
    public static final long WATCH_DOG_LEASETIME = -2;      /* 自动续约标志 */
    public static final long MIN_RETRYATTEMPTS = 1;         /* 最小周期 */
    public static final long MAX_RETRYATTEMPTS = 10;        /* 最大周期 */

    public static final long MIN_KEY_LENGTH = 5;         /* 最小key长度 */
    public static final long MAX_KEY_LENGTH = 512;        /* 最大key长度 */


}
